/*
 * @Author: 张升 1562821455@qq.com
 * @Date: 2024-11-07 16:54:45
 * @LastEditors: 张升 1562821455@qq.com
 * @LastEditTime: 2024-11-07 17:01:04
 * @FilePath: \react-demo\src\views\antdTest\Antd4.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import { HeartOutlined } from '@ant-design/icons';
import { Flex, Rate } from 'antd';
const App = () => (
    <Flex vertical gap="middle">
        <Rate character={<HeartOutlined />} allowHalf />
        <Rate
            character="A"
            allowHalf
            style={{
                fontSize: 36,
            }}
        />
        <Rate character="好" allowHalf />
    </Flex>
);
export default App;